class DevConfig():
    SQLALCHEMY_DATABASE_URI='mysql+pymysql://root:123123@127.0.0.1:3306/demo1'
    SQLALCHEMY_TRACK_MODIFICATIONS=False
    ACC_ID = '8aaf0708827c8fd50182aac986240881'
    ACC_TOKEN = 'c38654d6a78f498b920f2ce40e95dfa0'
    APP_ID = '8aaf0708827c8fd50182aac9876e0888'

#图片验证码
REDIS_KEY_IMG_CODE='img_'
#图片验证码过期时间
REDIS_KEY_IMG_CODE_TIME=120
#短信验证码
REDIS_KEY_MESSAGE_CODE='message_'
#验证码过期时间
REDIS_KEY_MESSAGE_CODE_TIME=60



REQUEST_FORMAT_CODE = {
    2000: '成功',
    2003: '验证码 过期',
    2004: '验证码 错误',
    2005: 'token 错误',
    2006: '账号密码 错误',
    0000: '未知错误码',
    4001:'手机号错误',
    4002: '用户名已存在',
}
